<?php

namespace app\configure\model;

use think\admin\Model;

class ConfigPatrolItemModel extends Model
{
    protected $connection = "mysql_app";

    protected $table = "t_config_patrolItem";

    /**
     * @return array
     */
    public static function items1(): array
    {
        $map = ['is_deleted' => 0];
        return static::mk()->where($map)->order('id asc')->column('name');
    }
}